#ifndef __X_APPLICATION_WIN32_H__
#define __X_APPLICATION_WIN32_H__

#include "xeglview.h"
#include "xapplicationprotocol.h"

class xApplication : public xApplicationProtocol
{
public:
    xApplication();
    virtual ~xApplication();

    int run();

    static xApplication *sharedApplication();

protected:
    HINSTANCE _instance;
    HACCEL    _accelTable;
    LARGE_INTEGER _animationInterval;
    static xApplication *_sharedApplication;
};

#endif